//配置路由表
import React from "react";

let Home = React.lazy(()=>import('../pages/home/Index'))
let List = React.lazy(()=>import('../pages/list/Index'))
let Detail = React.lazy(()=>import('../pages/detail/Index'))
let Order = React.lazy(()=>import('../pages/order/Index'))
let Person = React.lazy(()=>import('../pages/person/Index'))
let NoPay = React.lazy(()=>import('../pages/noPay/Index'))
export const routes = [
    {
        path:'/',
        element:<Home/>
    },
    {
        path:'/list',
        element:<List/>
    },
     {
        path:'/detail/:id',
        element:<Detail/>
    },
    {
        path:'/order',
        element:<Order/>
    },
     {
        path:'/person',
        element:<Person/>
    },
     {
        path:'/noPay',
        element:<NoPay/>
    }
]